package Models;

/**
 * @author Morten
 */
public class PrivateCustomer extends Customer
{
	private String name;

	public PrivateCustomer(String name, String address, int zipCode, String city, int phoneNo)
	{
		super(address, zipCode, city, phoneNo);
		this.setName(name);
	}

	public void edit(String name, String address, int zipCode, String city, int phoneNo)
	{
		this.setName(name);
		super.edit(address, zipCode, city, phoneNo);
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}
}
